package pl.s7n.paint.commands;

import java.awt.geom.AffineTransform;
import java.awt.image.BufferedImage;

/**
 * 180 degree rotation command
 * 
 * @author 7
 */
public class Rot180TransformCmd extends AbstractTransformCmd {

  public Rot180TransformCmd(BufferedImage oldImage) {
    super(oldImage, AffineTransform.getQuadrantRotateInstance(2), false);
  }

  @Override
  public String toString() {
    return "180 rotation";
  }
}
